import React from 'react'
import "./index.scss"

function BtnFoot({
    cancelText = '取消',
    clearText = '清除',
    oktext = '确定',
    onCancel,
    onEnter,
    onClear,
    isShow = false
}) {
    return (
        <div className='btn_foot_box'>
            {isShow ? <div className="btn_foot_box_clear" onClick={onClear}>{clearText}</div> : ''}
            <div className="btn_foot_box_cancel" onClick={onCancel}>{cancelText}</div>
            <div className="btn_foot_box_save" onClick={onEnter}>{oktext}</div>
        </div>
    )
}
export default BtnFoot